package com.rockcent.wechat.payment;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
import me.chanjar.weixin.common.util.xml.XStreamCDataConverter;

import java.io.Serializable;

/**
 * Created by oyhk on 16/5/29.
 *
 * 微信支付回调成功,同步返回xml 到微信
 */
@XStreamAlias("xml")
public class WxMpPayCallBackReturnResult implements Serializable {

    @XStreamAlias("return_code")
    @XStreamConverter(value=XStreamCDataConverter.class)
    private String returnCode;
    @XStreamAlias("return_msg")
    @XStreamConverter(value=XStreamCDataConverter.class)
    private String returnMsg;

    public String getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(String returnCode) {
        this.returnCode = returnCode;
    }

    public String getReturnMsg() {
        return returnMsg;
    }

    public void setReturnMsg(String returnMsg) {
        this.returnMsg = returnMsg;
    }
}
